<script lang="ts">
import {defineComponent} from 'vue'
//引入VueOfficeDocx组件
import VueOfficeDocx from '@vue-office/docx'
//引入相关样式
import '@vue-office/docx/lib/index.css'
// @ts-ignore
export default defineComponent({
  name: "ShowWord",
  props: {
    src:{
      type: String,
      default: ()=> ''
    }
  },
  components:{
    VueOfficeDocx
  },
})
</script>

<template>
  <VueOfficeDocx
    :src="src"
  />
</template>

<style scoped lang="scss">
</style>
